import sys
from PySide6.QtWidgets import QApplication, QMainWindow, QLabel

from UIProgram.MainPro import Ui_MainWindow

class Window(Ui_MainWindow, QMainWindow):
    def __init__(self,parent=None):
        super().__init__()
        self.setupUi(self)

if __name__ == "__main__":
    app = QApplication(sys.argv)
    window = Window()
    window.show()
    sys.exit(app.exec())